package fun.taostool.config;

import lombok.Getter;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;


/**
 * @Description: 业务相关配置
 * @Author: Chensn
 * @Date: 2024/07/01
 */
@Slf4j
@Component
@Getter
public class ProjectConfig {


    @Value("${tdWebSocket.url}")
    private String tdWebSocketUrl;

    @Value("${tdWebSocket.username}")
    private String tdWebSocketUsername;

    @Value("${tdWebSocket.password}")
    private String tdWebSocketPassword;

    // 链接
    @Value("${tdWebSocket.type}")
    private String linkType;

    @Value("${time.step}")
    private int timeStep;
}
